Skip to content

install/docs: add tailscale-style bootstrap flow for baudbot#68

Merged
benvinegar merged 6 commits into
mainfrom
benvinegar/readme-quickstart-no-sudo-curl
Feb 19, 2026
Merged

install/docs: add tailscale-style bootstrap flow for baudbot#68
benvinegar merged 6 commits into
mainfrom
benvinegar/readme-quickstart-no-sudo-curl

Conversation

@benvinegar

@benvinegar benvinegar commented Feb 19, 2026

Copy link
Copy Markdown
Member

Summary

  • add bootstrap.sh as a non-root entrypoint that installs a lightweight baudbot CLI into /usr/local/bin (using sudo/doas only when needed)
  • keep full privileged install in baudbot install (which downloads/runs install.sh and publishes /opt/baudbot release snapshots)
  • simplify README Quick Start to:
    1. curl .../bootstrap.sh | bash
    2. baudbot install
  • update install.sh header comments to document the new flow
  • update droplet CI setup scripts to validate the bootstrap flow (bootstrap.sh + baudbot install) instead of calling install.sh directly
  • use local file:// overrides in CI so the uploaded source bundle is tested rather than GitHub main

Why

This provides the desired single-command bootstrap UX (similar to Tailscale) without requiring users to manually chmod temp files or run sudo curl ... | bash.

Testing

  • bash -n bootstrap.sh
  • bash -n bin/baudbot
  • bash -n install.sh
  • bash -n bin/ci/setup-ubuntu.sh
  • bash -n bin/ci/setup-arch.sh
  • BAUDBOT_BOOTSTRAP_TARGET=/tmp/baudbot-bootstrap-test BAUDBOT_CLI_URL=https://raw.githubusercontent.com/modem-dev/baudbot/benvinegar/readme-quickstart-no-sudo-curl/bin/baudbot bash -c "curl -fsSL https://raw.githubusercontent.com/modem-dev/baudbot/benvinegar/readme-quickstart-no-sudo-curl/bootstrap.sh | bash"
  • bin/test.sh shell

@greptile-apps

greptile-apps Bot commented Feb 19, 2026

Copy link
Copy Markdown

Greptile Summary

Updated Quick Start to download the install script as the current user before executing with sudo, avoiding the security risk of piping remote content directly to a shell. Also clarified that the installer publishes git-free runtime releases to /opt/baudbot/releases/<sha> and manages the /opt/baudbot/current symlink.

Changes:

  • Added safer curl-based installation method as primary quickstart
  • Moved git clone method to "Alternative" section
  • Enhanced installer description with details about runtime release management

Confidence Score: 5/5

  • Safe to merge - documentation-only change that improves security guidance
  • This is a straightforward documentation improvement with no code changes. The new installation method is safer (avoids curl | sudo bash), and the additional context about runtime releases is accurate and helpful
  • No files require special attention

Important Files Changed

Filename Overview
README.md Added safer curl-based quickstart that downloads script before execution, plus additional installation context

Last reviewed commit: 6f0e92c

Comment thread README.md Outdated
@benvinegar benvinegar changed the title docs: add non-sudo-curl quickstart path cli/docs: add single-file baudbot bootstrap install flow Feb 19, 2026
@benvinegar benvinegar force-pushed the benvinegar/readme-quickstart-no-sudo-curl branch from 0c684cb to c2d2644 Compare February 19, 2026 05:06
@benvinegar benvinegar changed the title cli/docs: add single-file baudbot bootstrap install flow install/docs: add tailscale-style bootstrap flow for baudbot Feb 19, 2026
@benvinegar benvinegar merged commit a7a1900 into main Feb 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant